[INFO] cloning repository https://github.com/bencecile/absolute_defence
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bencecile/absolute_defence" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbencecile%2Fabsolute_defence", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbencecile%2Fabsolute_defence'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] b544f94bb8e324aa8b2c73c874f10d37fffa2234
[INFO] checking bencecile/absolute_defence against master#e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682 for beta-170-4
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbencecile%2Fabsolute_defence" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/bencecile/absolute_defence on toolchain e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/bencecile/absolute_defence
[INFO] finished tweaking git repo https://github.com/bencecile/absolute_defence
[INFO] tweaked toml for git repo https://github.com/bencecile/absolute_defence written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/bencecile/absolute_defence already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 019a64096d80036653c97364638425f0612f53ae33780ef12af1668aa8a549e3
[INFO] running `Command { std: "docker" "start" "-a" "019a64096d80036653c97364638425f0612f53ae33780ef12af1668aa8a549e3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "019a64096d80036653c97364638425f0612f53ae33780ef12af1668aa8a549e3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "019a64096d80036653c97364638425f0612f53ae33780ef12af1668aa8a549e3", kill_on_drop: false }`
[INFO] [stdout] 019a64096d80036653c97364638425f0612f53ae33780ef12af1668aa8a549e3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e18b9a120cbb8e04baf96065d512cc16102e9f9806c85560366657edefa161e1
[INFO] running `Command { std: "docker" "start" "-a" "e18b9a120cbb8e04baf96065d512cc16102e9f9806c85560366657edefa161e1", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.59
[INFO] [stderr]    Compiling quote v1.0.28
[INFO] [stderr]    Compiling unicode-ident v1.0.9
[INFO] [stderr]    Compiling wasm-bindgen-shared v0.2.86
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]    Compiling once_cell v1.17.2
[INFO] [stderr]    Compiling log v0.4.8
[INFO] [stderr]    Compiling bumpalo v3.1.2
[INFO] [stderr]    Compiling libc v0.2.144
[INFO] [stderr]    Compiling wasm-bindgen v0.2.86
[INFO] [stderr]    Compiling getrandom v0.1.16
[INFO] [stderr]     Checking ppv-lite86 v0.2.17
[INFO] [stderr]     Checking fixedbitset v0.2.0
[INFO] [stderr]    Compiling syn v2.0.18
[INFO] [stderr]     Checking getrandom v0.2.9
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]     Checking rand_chacha v0.2.2
[INFO] [stderr]     Checking rand v0.7.3
[INFO] [stderr]    Compiling wasm-bindgen-backend v0.2.86
[INFO] [stderr]    Compiling wasm-bindgen-macro-support v0.2.86
[INFO] [stderr]    Compiling wasm-bindgen-macro v0.2.86
[INFO] [stderr]     Checking js-sys v0.3.63
[INFO] [stderr]     Checking console_error_panic_hook v0.1.6
[INFO] [stderr]     Checking web-sys v0.3.63
[INFO] [stderr]     Checking absolute_defence v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0583]: file not found for module `commons`
[INFO] [stdout]  --> src/world.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | mod commons;
[INFO] [stdout]   | ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: to create the module `commons`, create file "src/world/commons.rs" or "src/world/commons/mod.rs"
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0583]: file not found for module `commons`
[INFO] [stdout]  --> src/world.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | mod commons;
[INFO] [stdout]   | ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: to create the module `commons`, create file "src/world/commons.rs" or "src/world/commons/mod.rs"
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `super::common`
[INFO] [stdout]  --> src/world/enemy.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 |     common::{MovementStatus},
[INFO] [stdout]   |     ^^^^^^ could not find `common` in `super`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `super::common`
[INFO] [stdout]  --> src/world/player.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 |     common::{MovementStatus},
[INFO] [stdout]   |     ^^^^^^ could not find `common` in `super`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::math::probablility`
[INFO] [stdout]   --> src/world.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 |     probablility::{RollTable},
[INFO] [stdout]    |     ^^^^^^^^^^^^ could not find `probablility` in `math`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `super::common`
[INFO] [stdout]  --> src/world/enemy.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 |     common::{MovementStatus},
[INFO] [stdout]   |     ^^^^^^ could not find `common` in `super`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `super::common`
[INFO] [stdout]  --> src/world/player.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 |     common::{MovementStatus},
[INFO] [stdout]   |     ^^^^^^ could not find `common` in `super`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::math::probablility`
[INFO] [stdout]   --> src/world.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 |     probablility::{RollTable},
[INFO] [stdout]    |     ^^^^^^^^^^^^ could not find `probablility` in `math`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `CanvasRenderingContex2d` in this scope
[INFO] [stdout]   --> src/render.rs:11:26
[INFO] [stdout]    |
[INFO] [stdout] 11 |     pub fn new(context: &CanvasRenderingContex2d, width: f64, height: f64) -> DrawingKit<'a> {
[INFO] [stdout]    |                          ^^^^^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `CanvasRenderingContext2d`
[INFO] [stdout]    |
[INFO] [stdout]   ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/web-sys-0.3.63/src/features/gen_CanvasRenderingContext2d.rs:4:1
[INFO] [stdout]    |
[INFO] [stdout] 4  | #[wasm_bindgen]
[INFO] [stdout]    | --------------- similarly named struct `CanvasRenderingContext2d` defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `CanvasRenderingContex2d` in this scope
[INFO] [stdout]   --> src/render.rs:11:26
[INFO] [stdout]    |
[INFO] [stdout] 11 |     pub fn new(context: &CanvasRenderingContex2d, width: f64, height: f64) -> DrawingKit<'a> {
[INFO] [stdout]    |                          ^^^^^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `CanvasRenderingContext2d`
[INFO] [stdout]    |
[INFO] [stdout]   ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/web-sys-0.3.63/src/features/gen_CanvasRenderingContext2d.rs:4:1
[INFO] [stdout]    |
[INFO] [stdout] 4  | #[wasm_bindgen]
[INFO] [stdout]    | --------------- similarly named struct `CanvasRenderingContext2d` defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `World` in this scope
[INFO] [stdout]   --> src/render.rs:20:38
[INFO] [stdout]    |
[INFO] [stdout] 20 |     pub fn draw_world(&self, world: &World) {
[INFO] [stdout]    |                                      ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  + use crate::World;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `context` in this scope
[INFO] [stdout]   --> src/render.rs:26:9
[INFO] [stdout]    |
[INFO] [stdout] 26 |         context.save();
[INFO] [stdout]    |         ^^^^^^^ help: you might have meant to use the available field: `self.context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `World` in this scope
[INFO] [stdout]   --> src/render.rs:20:38
[INFO] [stdout]    |
[INFO] [stdout] 20 |     pub fn draw_world(&self, world: &World) {
[INFO] [stdout]    |                                      ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  + use crate::World;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `context` in this scope
[INFO] [stdout]   --> src/render.rs:27:9
[INFO] [stdout]    |
[INFO] [stdout] 27 |         context.set_fill_style(&("black".into()));
[INFO] [stdout]    |         ^^^^^^^ help: you might have meant to use the available field: `self.context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `context` in this scope
[INFO] [stdout]   --> src/render.rs:26:9
[INFO] [stdout]    |
[INFO] [stdout] 26 |         context.save();
[INFO] [stdout]    |         ^^^^^^^ help: you might have meant to use the available field: `self.context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `context` in this scope
[INFO] [stdout]   --> src/render.rs:30:9
[INFO] [stdout]    |
[INFO] [stdout] 30 |         context.stroke_rect(75.0, 140.0, 150.0, 110.0);
[INFO] [stdout]    |         ^^^^^^^ help: you might have meant to use the available field: `self.context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `context` in this scope
[INFO] [stdout]   --> src/render.rs:27:9
[INFO] [stdout]    |
[INFO] [stdout] 27 |         context.set_fill_style(&("black".into()));
[INFO] [stdout]    |         ^^^^^^^ help: you might have meant to use the available field: `self.context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `context` in this scope
[INFO] [stdout]   --> src/render.rs:33:9
[INFO] [stdout]    |
[INFO] [stdout] 33 |         context.fill_rect(130.0, 190.0, 40.0, 60.0);
[INFO] [stdout]    |         ^^^^^^^ help: you might have meant to use the available field: `self.context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `context` in this scope
[INFO] [stdout]   --> src/render.rs:30:9
[INFO] [stdout]    |
[INFO] [stdout] 30 |         context.stroke_rect(75.0, 140.0, 150.0, 110.0);
[INFO] [stdout]    |         ^^^^^^^ help: you might have meant to use the available field: `self.context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `context` in this scope
[INFO] [stdout]   --> src/render.rs:36:9
[INFO] [stdout]    |
[INFO] [stdout] 36 |         context.begin_path();
[INFO] [stdout]    |         ^^^^^^^ help: you might have meant to use the available field: `self.context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `context` in this scope
[INFO] [stdout]   --> src/render.rs:33:9
[INFO] [stdout]    |
[INFO] [stdout] 33 |         context.fill_rect(130.0, 190.0, 40.0, 60.0);
[INFO] [stdout]    |         ^^^^^^^ help: you might have meant to use the available field: `self.context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `context` in this scope
[INFO] [stdout]   --> src/render.rs:37:9
[INFO] [stdout]    |
[INFO] [stdout] 37 |         context.move_to(50.0, 140.0);
[INFO] [stdout]    |         ^^^^^^^ help: you might have meant to use the available field: `self.context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `context` in this scope
[INFO] [stdout]   --> src/render.rs:36:9
[INFO] [stdout]    |
[INFO] [stdout] 36 |         context.begin_path();
[INFO] [stdout]    |         ^^^^^^^ help: you might have meant to use the available field: `self.context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `context` in this scope
[INFO] [stdout]   --> src/render.rs:38:9
[INFO] [stdout]    |
[INFO] [stdout] 38 |         context.line_to(150.0, 60.0);
[INFO] [stdout]    |         ^^^^^^^ help: you might have meant to use the available field: `self.context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `context` in this scope
[INFO] [stdout]   --> src/render.rs:37:9
[INFO] [stdout]    |
[INFO] [stdout] 37 |         context.move_to(50.0, 140.0);
[INFO] [stdout]    |         ^^^^^^^ help: you might have meant to use the available field: `self.context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `context` in this scope
[INFO] [stdout]   --> src/render.rs:38:9
[INFO] [stdout]    |
[INFO] [stdout] 38 |         context.line_to(150.0, 60.0);
[INFO] [stdout]    |         ^^^^^^^ help: you might have meant to use the available field: `self.context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `context` in this scope
[INFO] [stdout]   --> src/render.rs:39:9
[INFO] [stdout]    |
[INFO] [stdout] 39 |         context.line_to(250.0, 140.0);
[INFO] [stdout]    |         ^^^^^^^ help: you might have meant to use the available field: `self.context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `context` in this scope
[INFO] [stdout]   --> src/render.rs:40:9
[INFO] [stdout]    |
[INFO] [stdout] 40 |         context.close_path();
[INFO] [stdout]    |         ^^^^^^^ help: you might have meant to use the available field: `self.context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `context` in this scope
[INFO] [stdout]   --> src/render.rs:39:9
[INFO] [stdout]    |
[INFO] [stdout] 39 |         context.line_to(250.0, 140.0);
[INFO] [stdout]    |         ^^^^^^^ help: you might have meant to use the available field: `self.context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `context` in this scope
[INFO] [stdout]   --> src/render.rs:40:9
[INFO] [stdout]    |
[INFO] [stdout] 40 |         context.close_path();
[INFO] [stdout]    |         ^^^^^^^ help: you might have meant to use the available field: `self.context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `context` in this scope
[INFO] [stdout]   --> src/render.rs:41:9
[INFO] [stdout]    |
[INFO] [stdout] 41 |         context.stroke();
[INFO] [stdout]    |         ^^^^^^^ help: you might have meant to use the available field: `self.context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `context` in this scope
[INFO] [stdout]   --> src/render.rs:43:9
[INFO] [stdout]    |
[INFO] [stdout] 43 |         context.restore();
[INFO] [stdout]    |         ^^^^^^^ help: you might have meant to use the available field: `self.context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `context` in this scope
[INFO] [stdout]   --> src/render.rs:41:9
[INFO] [stdout]    |
[INFO] [stdout] 41 |         context.stroke();
[INFO] [stdout]    |         ^^^^^^^ help: you might have meant to use the available field: `self.context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `context` in this scope
[INFO] [stdout]   --> src/render.rs:43:9
[INFO] [stdout]    |
[INFO] [stdout] 43 |         context.restore();
[INFO] [stdout]    |         ^^^^^^^ help: you might have meant to use the available field: `self.context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Position` in this scope
[INFO] [stdout]   --> src/world/enemy.rs:19:39
[INFO] [stdout]    |
[INFO] [stdout] 19 |     pub fn is_in_range(&self, target: Position) -> bool {
[INFO] [stdout]    |                                       ^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  + use crate::math::Position;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Position` in this scope
[INFO] [stdout]   --> src/world/enemy.rs:19:39
[INFO] [stdout]    |
[INFO] [stdout] 19 |     pub fn is_in_range(&self, target: Position) -> bool {
[INFO] [stdout]    |                                       ^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  + use crate::math::Position;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Player` in this scope
[INFO] [stdout]   --> src/world/enemy.rs:23:60
[INFO] [stdout]    |
[INFO] [stdout] 23 |     pub fn attack(&mut self, time_delta: f64, player: &mut Player) {
[INFO] [stdout]    |                                                            ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  + use crate::world::Player;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Player` in this scope
[INFO] [stdout]   --> src/world/enemy.rs:23:60
[INFO] [stdout]    |
[INFO] [stdout] 23 |     pub fn attack(&mut self, time_delta: f64, player: &mut Player) {
[INFO] [stdout]    |                                                            ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  + use crate::world::Player;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Position` in this scope
[INFO] [stdout]   --> src/world/enemy.rs:37:31
[INFO] [stdout]    |
[INFO] [stdout] 37 |     pub fn position(&self) -> Position {
[INFO] [stdout]    |                               ^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  + use crate::math::Position;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Position` in this scope
[INFO] [stdout]   --> src/world/enemy.rs:37:31
[INFO] [stdout]    |
[INFO] [stdout] 37 |     pub fn position(&self) -> Position {
[INFO] [stdout]    |                               ^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  + use crate::math::Position;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Position` in this scope
[INFO] [stdout]   --> src/world/enemy.rs:43:44
[INFO] [stdout]    |
[INFO] [stdout] 43 |     pub fn turn_towards(&mut self, target: Position) {
[INFO] [stdout]    |                                            ^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  + use crate::math::Position;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Position` in this scope
[INFO] [stdout]   --> src/world/enemy.rs:43:44
[INFO] [stdout]    |
[INFO] [stdout] 43 |     pub fn turn_towards(&mut self, target: Position) {
[INFO] [stdout]    |                                            ^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  + use crate::math::Position;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Position` in this scope
[INFO] [stdout]   --> src/world/enemy.rs:53:34
[INFO] [stdout]    |
[INFO] [stdout] 53 |     pub fn spawn(self, position: Position, direction: Direction) -> Enemy {
[INFO] [stdout]    |                                  ^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  + use crate::math::Position;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Position` in this scope
[INFO] [stdout]   --> src/world/enemy.rs:53:34
[INFO] [stdout]    |
[INFO] [stdout] 53 |     pub fn spawn(self, position: Position, direction: Direction) -> Enemy {
[INFO] [stdout]    |                                  ^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  + use crate::math::Position;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Direction` in this scope
[INFO] [stdout]   --> src/world/enemy.rs:53:55
[INFO] [stdout]    |
[INFO] [stdout] 53 |     pub fn spawn(self, position: Position, direction: Direction) -> Enemy {
[INFO] [stdout]    |                                                       ^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  + use crate::math::Direction;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Direction` in this scope
[INFO] [stdout]   --> src/world/enemy.rs:53:55
[INFO] [stdout]    |
[INFO] [stdout] 53 |     pub fn spawn(self, position: Position, direction: Direction) -> Enemy {
[INFO] [stdout]    |                                                       ^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  + use crate::math::Direction;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Enemy`
[INFO] [stdout]   --> src/lib.rs:15:13
[INFO] [stdout]    |
[INFO] [stdout] 15 |     world::{Enemy, EnemyType, World},
[INFO] [stdout]    |             ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Enemy`
[INFO] [stdout]   --> src/lib.rs:15:13
[INFO] [stdout]    |
[INFO] [stdout] 15 |     world::{Enemy, EnemyType, World},
[INFO] [stdout]    |             ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: missing generics for struct `RollTable`
[INFO] [stdout]   --> src/math/probability.rs:11:17
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl <T: Clone> RollTable {
[INFO] [stdout]    |                 ^^^^^^^^^ expected 1 generic argument
[INFO] [stdout]    |
[INFO] [stdout] note: struct defined here, with 1 generic parameter: `T`
[INFO] [stdout]   --> src/math/probability.rs:8:12
[INFO] [stdout]    |
[INFO] [stdout] 8  | pub struct RollTable<T: Clone> {
[INFO] [stdout]    |            ^^^^^^^^^ -
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl <T: Clone> RollTable<T> {
[INFO] [stdout]    |                          +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: missing generics for struct `RollTable`
[INFO] [stdout]   --> src/math/probability.rs:11:17
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl <T: Clone> RollTable {
[INFO] [stdout]    |                 ^^^^^^^^^ expected 1 generic argument
[INFO] [stdout]    |
[INFO] [stdout] note: struct defined here, with 1 generic parameter: `T`
[INFO] [stdout]   --> src/math/probability.rs:8:12
[INFO] [stdout]    |
[INFO] [stdout] 8  | pub struct RollTable<T: Clone> {
[INFO] [stdout]    |            ^^^^^^^^^ -
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl <T: Clone> RollTable<T> {
[INFO] [stdout]    |                          +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 24 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0107, E0412, E0425, E0432, E0583.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0107`.
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 24 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0107, E0412, E0425, E0432, E0583.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0107`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `absolute_defence` (lib test) due to 25 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `absolute_defence` (lib) due to 25 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "e18b9a120cbb8e04baf96065d512cc16102e9f9806c85560366657edefa161e1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e18b9a120cbb8e04baf96065d512cc16102e9f9806c85560366657edefa161e1", kill_on_drop: false }`
[INFO] [stdout] e18b9a120cbb8e04baf96065d512cc16102e9f9806c85560366657edefa161e1
